html{
    font-size: 14px;
}
body{
    font-family: 'ralewayregular';
}
/**Remove styles for inputs in iOS**/
input[type="text"]{
    border: 1px solid white;
}
textarea,
input[type="text"],
input[type="button"],
input[type="submit"] {
     -webkit-appearance: none;
     border-radius: 0;
}

div#main {
    width: 1280px;
    height: 768px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

html, body{
        height: 100%;
        margin: 0px;
        padding: 0px
      }
a{
    text-decoration: none;
}
a:hover{
    text-decoration: none;
    cursor: pointer;
}
#map-canvas{
        height: 100%;
        margin: 0px;
        padding: 0px;
        width: 100%;
        }
.menu{
    width: 1280px;
    height: 75px;
    display: none; 
    position: relative;
    background-image:url('../img/bg_menu_header.png');
    background-repeat:repeat;
    color: white;
    font-size: 12px;
    text-align: left;
}

#menu > form > div{
    border-right: 1px solid black;
    height: 74px;
}
#menu > form > div:last-child{
    border-right: 0;
}
#location input, #date{
    margin-left: 12.5px;
}
#location{
    width: 190px;
} 
#menu > form > div,
#menu > div{
    float: left;
}

#roomType{
    width: 170px;
}
#roomType input, #hostType input{
    padding: 0;
}
#roomType p, #hostType p{
    padding: 0;
}

#roomType table, #hostType table{
    margin-left: 12.5px;
    margin-top: 8.5px;
}

#roomType table td, #hostType table td{
    width: 80px;
    padding: 0 10px 0 0;
}

#hostType{
    width: 180px;
}



/**Location and Date Filter**/
#dates{
    width: 322px;
}

#date, #roomAndGuest{
    display: inline-block;
    margin-top: 4.5px;
}
#date p, #roomAndGuest p, #roomType table p{
    font-size: 10px;
    margin: 0;
}
#date{
    margin-right: 23px;
}
#date tr td:first-child{
    padding-right: 7px;
}

#roomAndGuest td, #date td{
    padding-top: 1px;
}
#roomAndGuest td:nth-child(2n){
    padding-left: 12px;
}
#date input,
#roomAndGuest input{
    text-align: center;
}

#location input::-webkit-input-placeholder {
    text-align: center;
}
#location input::-moz-placeholder { /* Firefox 19+ */
    text-align: center;
}
#location input:-ms-input-placeholder {
    text-align: center;
}
#location input:-moz-placeholder { /* Firefox 18- */
    text-align: center;
}

#price,
#distance{
    width: 220px;
}

#price .upper-div-menu + div{

    margin-top: 13px;
    width: 220px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 194px;
  height: 2px;
  margin: 0;
  border: none;
  border-radius: 14px;
  background: #979797;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0.5, black), color-stop(0.5, #979797)); /* android <= 2.2 */
  background-image: -o-linear-gradient(right, black 50%, #979797 50%);
  background-image: -moz-linear-gradient(right, black 50%, #979797 50%);
  background-image: -webkit-linear-gradient(right, black 50%, #979797 50%);
  background-image: -ms-linear-gradient(right, black 50%, #979797 50%);
  background-image: linear-gradient(to right, black 50%, #979797 50%);
  outline: none; /* no focus outline */
  margin-left: 12.5px;
  z-index: 42;
}

input[type="range"]::-moz-range-track {
  border: inherit;
  background: transparent;
}

input[type="range"]::-ms-track {
  border: inherit;
  color: transparent; /* don't drawn vertical reference line */
  background: transparent;
}

input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
  background: transparent;
}

input[type="range"]::-ms-tooltip {
  display: none;
}


input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border: none;
  border-radius: 12px;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2D89EF), color-stop(100%, #2D89EF)); /* android <= 2.2 */
  background-image: -webkit-linear-gradient(top , #2D89EF 0, #2D89EF 100%); /* older mobile safari and android > 2.2 */;
  background-image: linear-gradient(to bottom, #2D89EF 0, #2D89EF 100%); /* W3C */
  z-index: 44;
}
input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: none;
  border-radius: 12px;
  background-image: linear-gradient(to bottom, #2D89EF 0, #2D89EF 100%); /* W3C */
  z-index: 44;
}

input[type="range"]::-ms-thumb {
  width: 13px;
  height: 13px;
  border-radius: 12px;
  border: 0;
  background-image: linear-gradient(to bottom, #2D89EF 0, #2D89EF 100%); /* W3C */
  z-index: 44;
}

#priceValue{
    text-align: center;
    height: 17px;
    width: 55px;
   }
.textLeft{
    text-align: left;
}

#content-wrapper{
    width: 100%;
    height: 100%;
    position: relative;
    top: 81px;
    padding-top: 15px;
    background-color: #EDF0F3;
}
#main #mapContainer, 
#main #resultsContainer{
    z-index: 0;
    display: block;
    float: left;
    height: 100%;
    margin: 0 5px 0 5px;
}
#mapContainer{
    width: 630px;
    overflow: hidden;
}

#resultsContainer{
    width: 630px;
    background-color: #EDF0F3;
}

/**
Checkbox styles 
**/
#menu label {
    font-size: 10px;
    letter-spacing: 0.1px;
    line-height: 10px;
}
#menu input[type="checkbox"] + label{
    display: inline-block;  
    cursor: pointer;  
    position: relative;  
    padding-left: 20px;    
    margin-bottom: 5px;
    font-family:'latobold';
} 

input[type="checkbox"]{
    display: none;
}


#menu input[type="checkbox"] + label:before {  
    content: "";  
    display: inline-block;  
  
    width: 11px;  
    height: 11px;  
    
    margin-right: 5px;  
    position: absolute;  
    left: 0;  
    bottom: 2px;  
    background-color: white;  
    border: 1px solid white;
} 

#menu input[type=checkbox]:checked + label:before {  
    content: "\e08a";  
    font-size: 10px;
    text-align: center; 
    font-family: iconFont;
    color:black; 
} 

#menu input[type="text"]{
    height: 19px; 
    padding: 0;
    border:0;
}

#menuWrapper {
    position: relative;
    top: 23px;
}
#menu-controller{
    height: 22px;
    background-color: #EDF0F3;
    position: absolute;
    z-index: 9;
    top: 58px;
}
#nav-bar{
    background-color: #398FEC;
    border-bottom: 3px solid white;
    height: 55px;
    z-index: 10;
    position: relative;
    -webkit-box-shadow: 0px 10px 9px -5px rgba(127,129,131,0.75);
    -moz-box-shadow: 0px 10px 9px -5px rgba(127,129,131,0.75);
    box-shadow: 0px 10px 9px -5px rgba(127,129,131,0.75);
}
#menu-controller,
#nav-bar{
    width: 1280px;
    
}

#header{
    position: fixed;
     z-index: 1;
}

.circle{
    width: 40px;
    height: 40px;
    background-color: #398FEC;
    -moz-border-radius: 50%; 
    -webkit-border-radius: 50%; 
    border-radius: 50%;
    border: 1px solid white;
    margin-top: 6.5px;
}
#menu-controller > div {
    border-bottom: 1px solid white;
    height: 22px;
    float: left;
    text-align: left;
    color: #929BA4;
    font-size: 9px;
    letter-spacing: 0.1px;
}

#search-button-container,
#grid-button-container,
#listmap-button-container,
#most-relevant-button-container{
    display: inline-block;
    cursor: pointer;
}
#search-button-container{
    background-image: url("../img/search_icon.png");
    background-repeat: no-repeat;
    height: 20px;
    width: 13px;
    padding-right: 5px;
}

#grid-button-container{
    background-image: url("../img/grid.png");
    height: 14px;
    width: 14px;
    margin-left: 5px;
}

#listmap-button-container{
    background-image: url("../img/grid_and_list.png");
    height: 14px;
    width: 15px;
    margin-left: 20px;
}
#controller2 > div{
    margin-top: 7px;
}
#controller2 > span:first-child{
    margin-left: 10px;
}
#controller2 > span{
    margin-left: 7px;
}
#controller2 > span:last-child{
    float: right;
    margin-right: 5px;
}

#controller4 > span:first-child{
    margin-left: 12px;
}

#most-relevant-button-container{
    background-image: url("../img/arrow-down.png");
    height: 5px;
    width: 9px;
    margin-top: 11px;
    margin-left: 5px;
}
#controller5 > span{
    margin-left: 12px;
    font-size: 10px;
}
#search-text{
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
    color: white;
    font-family: 'ralewaysemibold';
    display: inline-block;
    position: relative;
    top:-1px;
}
#controller1{
    width: 640px;
    border-right: 1px solid #929BA4;
}
#controller1,#controller2,#controller4{
    border-right: 1px solid #929BA4;
}
#controller2{
    width: 410px;
}

#controller4{
    width: 116px;
}
#controller5{
    width: 111px;
}
#controller1 > div {
    background-color: #929BA4;
    margin-left: 132.5px;
    height: 25px;
    top: -3px;
    position: relative;
}
#controller1 > span{
    float: right;
    margin-right: 5px;
}
div[id^="controller"] > div{
    float: left;
}
div[id^="controller"] > span{
    display: block;
    margin-top: 10px;
    float:left;
}
#left-buttons-container{
    text-align: left;
}
#left-buttons-container > a:first-child{
    margin-left: 43px;
}
#right-buttons-container{
    display: none;
}
#right-buttons-container > a:last-child{
    margin-right: 20px;
}
#right-buttons-container{
    text-align: right;

}
#left-buttons-container, 
#right-buttons-container{
    width: 545.5px;
    margin-top: 18px
}

#logout-container {
    float: right !important;
    margin-top: 18px;
    margin-right: 15px;
}

#left-buttons-container > a[class*="Button"],
#right-buttons-container > a[class*="Button"],
#logout-container > a[class*="Button"]{
    -webkit-border-top-left-radius: 0px;
    -moz-border-radius-topleft: 0px;
    border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-left-radius: 0px;
    text-indent: 0px;
    display: inline-block;
    font-family: 'ralewaysemibold';
    font-size: 11px;
    font-style: normal;
    height: 17px;
    line-height: 17px;
    width: 75px;
    text-decoration: none;
    text-align: center;
}
#logout-container > a[class*="Button"]{
    font-size: 10px;
}
#logout-container > a[class*="Button"]:last-child{
    font-size: 10px;
    margin-left: 5px;
}
.blueButton{
    background-color: white;
    border: 1px solid #398FEC;
    color: white;
}
.blueButton2{
    background-color: #398FEC;
    border: 1px solid #398FEC;
    color: white;
}
.grayButton {
    background-color: white;
    border: 1px solid #C0C5CB;
    color: #9b9b9b;
}

.grayButton2{
    background-color: #398FEC;
    border: 1px solid white;
    color: white;
}

#nav-bar > div{
    float: left;
}
#logo-container{
    margin-left: 40px;
}

.upper-div-menu{
    height: 27px;
    width: 100%;
    color: #398FEC;
    border-bottom: 1px solid black;
}

.upper-div-menu > p{
    font-family: 'ralewaysemibold';
}

#menu table p{
    font-family: 'latobold';
}
.upper-div-menu  p{
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0px;
    margin-top: 7px;
    margin-bottom: 0;
}

.upper-div-menu *:first-child{
        margin-left: 12.5px;
}

#price .upper-div-menu *:last-child{
    margin-left: 101.5px;
}

/**Input TXT sizes**/
#place-input{
    width: 165px;
    margin-top: 18.5px;
}

#arrival-input, #departure-input{
    width: 85px;
}

#rooms-input, #guests-input{
    width: 38px;
}

#search{
    width: 192px;
}

/**Testing**/
p[id^="forceFont"]{
    font-size: 1px;
    text-align: center; 
    color:white; 
}

#forceFont{
    font-family: iconFont;
}

#forceFont2{
    font-family: latobold;
}

#forceFont3{
    font-family: ralewayregular;
}

#forceFont4{
    font-family: ralewaysemibold;
}

/** THE RESULT STYLES **/
.result{
    width: 310px;
    height: 166px;
    border: 1px solid #939393;
    background-color: white;
    float: left;
}
.result > img, .result-info{
    margin: 2px 0 2px 2px;
    float: left;
    height: 160px;
}
.result > img{
    border: 1px solid #939393;
    display: block;
    width: 170px;
}

.result-info{
    font-family:'ralewaysemibold';
    margin-right: 2px;
    border: 1px solid #939393;
    width: 130px;
}

.result-info-head{
    border-bottom: 1px solid #939393;
    background-color: #E9E9E9;
    height: 20px;
    text-align: right;
}
.result-info-head span{

}
.result-info-head span:first-child{
    font-size: 10px;
    color: #475154;
}
.result-info-head span:last-child{
    font-size: 15px;
    color: #FE0E9E;
    font-family: 'latobold';
    margin-right: 10px;
}

.result-info-contents{
    height: 103px;
    margin-top: 10px;
    color: #3D474B;
    font-family: 'ralewaysemibold';
    text-align: left;
}

.result-info-contents > *{
    margin-left: 7px;
    margin-top: 0;
    margin-bottom: 0;
}

.result-info-contents h3{
    font-size: 12px;
    font-weight: bold;
    font-family: 'latobold';
}

.result-info-contents h4{
    font-size: 11px;
    margin-top: 5px;
}

.result-info-contents p{
    font-size: 10px;
    margin-top: 10px;
}

.result-info-contents a, .result-info-contents a:hover, .result-info-contents a:visited{
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    color: #498DF7;
    margin-top: 5px;
}

.result-info-more{
    height: 27px;
    background-color: #498DF7;
}

.result-info-more a, .result-info-more a:hover, .result-info-more a:visited{
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    color: white;
    margin: 0 auto;
    line-height: 27px;
}

.search-button, .search-button:hover, .search-button:active{
    background: transparent;
    border: 2px solid #398FEC;
    text-indent:0px;
    display:block;
    color:white;
    font-family: 'latobold';
    font-size:12px;
    font-weight:bold;
    font-style:normal;
    height:27px;
    line-height:27px;
    width:111px;
    text-decoration:none;
    text-align:center;
    margin: 7px auto;
}

.closeClass{
    margin-right: 4px;
    letter-spacing: 1px;
}

/*More info*/
#moreInfoPanel{
    position: absolute;
    left: 1300px;
    bottom: 0;
    width: 640px;
    height: 100%;
    background-color: rgba(237, 240, 243, 0.5);
    -webkit-transition: left 1s; /* For Safari 3.1 to 6.0 */
    transition: left 1s;
}

#moreInfoPanel div{
    opacity: 1;
    -webkit-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
}

.blurClass{
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
    filter: blur(15px);
}

/*Info Window CSS*/
.infoWindow{
        background-image: url("../img/info-box.png");
        height: 104px;
        width: 218px;
        position: relative;
        text-align: left;
    }
    .infoWindow > div{
        display: inline-block;
        position: relative;
    }
    .infoWindowMarkerInfo{
        font-family: 'latobold';
        color:#3D474B;
        margin-left: 70px;
        width: 144px;
        text-align: left;
    }
    .infoWindow .infoWindowImage{
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border-radius: 200px;
        width: 55.5px;
        height: 55.5px;
        left: 9px;
        top: 9px;
        position: absolute;
    }
    .infoWindowMarkerInfo > div:nth-child(1){
        height: 17px;
        width: 144px;
    }
    .infoWindowMarkerInfo > div:nth-child(2){
        margin-left: 10px;
        height: 28px;
        margin-top: 5px;
        width: 124px;
        line-height: 10px;
    }
    .infoWindowMarkerInfo > div:nth-child(3){
      margin-left:10px;
      height: 17px;
      width: 124px;
      margin-top: 2px;
    }
    .infoWindowMarkerInfo a, .infoWindowMarkerInfo a:hover, .infoWindowMarkerInfo a:visited{
            text-decoration: none;
            font-size: 10px;
            font-weight: bold;
            color: white;
            margin: 0 auto;
            line-height: 17px;
    }
    .infoWindowMarkerInfo > div > * {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .infoWindowMarkerInfo > div > h4{
        font-size: 10px;
        font-weight: bold;
        display: inline-block;
        margin: 0;
        margin-top: 9px;
        width: 90px;
        height: 11px;
        white-space: nowrap;
            }
    .infoWindowMarkerInfo > div > span{
        color: #498DF7;
        float: right;
        margin-top: 8px;
        margin-right: 7px;
        width: 45px;
        text-align: right;
        height: 11px;
    }
    .infoWindowMarkerInfo > div > p {
        font-size: 10px;
        margin: 0;
        padding: 0;
        display: inline-block;
        height: 30px;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 125px;
    }
    .infoWindowMarkerInfo > div > a{
        display: inline-block;
    }
    .infoWindowMarkerInfo > div > a:last-child{
        float:right;
    }

    /*Info window 2 CSS*/
    .infoWindow2{
        width: 250px;
        height: 110px;
        position: relative;
    }
    .imageContainer, .infoWindowContents{
        position: absolute;
    }
    .imageContainer{
        width: 71px;
        height: 71px;
        z-index: 577;
        border: 2px solid white;
        background-color: white;
        border-radius: 50px;
        background-position: center;
        background-size: 100%;
    }
    .infoWindowContents{
        width: 210px;
        height: 75px;
        z-index: 576;
        background-color: #53585F;
        left: 40px;
        -webkit-box-shadow: 4px 4px 16px 0px rgba(50, 50, 50, 0.68);
        -moz-box-shadow:    4px 4px 16px 0px rgba(50, 50, 50, 0.68);
        box-shadow:         4px 4px 16px 0px rgba(50, 50, 50, 0.68);
    }
    .i-w-headingTitle, .i-w-price{
        display: inline-block;
        vertical-align: top;
    }
    .i-w-price{
        float: right;
        margin-right: 3px;
    }
    .i-w-body p{
        margin: 0;
    }
    .i-w-headingTitle{
        font-size: 12px;
        font-family: 'ralewayregular';
        color: white;
        line-height: 10px;
        margin-top: 5px;
        text-align: left;
    }

    .i-w-price{
        padding: 2px;
        border: 1px solid white;
        font-family: 'latobold';
        color: white;
        font-size: 15px;
        line-height: 15px;
        margin-top: 3px;
    }
    .i-w-body{
        font-size: 11px;
        font-family: 'ralewayregular';
        color: #979da4;
        text-align: left;
        overflow: auto;
        width: 160px;
        height: 26px;
    }   
    .i-w-body p{
        width: 160px;
        height: 26px;
    }
    .i-w-links{
        margin-top: 3px;
    }
    .i-w-links a, .i-w-links a:hover, .i-w-links a:visited{
            text-decoration: none;
            font-size: 11px;
            font-weight: bold;
            color: white;
            margin: 0 auto;
            line-height: 11px;
            font-family: 'latobold';
    }
    
    .i-w-links a:nth-child(1){
        color: #498DF7;
    }
    .i-w-links a:nth-child(2){
        float: right;
        margin-right: 10px;
    }
    .i-w-headingContainer, .i-w-body, .i-w-links{
        margin-left: 40px;
        text-align: left;
    }
    .i-w-headingContainer > p:nth-child(1){
        width: 125px;
        white-space: nowrap;
    }
    .i-w-pin{
        height: 20px;
        position: absolute;
        top: 75px;
    }
    .i-w-pin > div:nth-child(1){
        margin-left: 34px;
        border-left: 2px solid white;
        height: 25px;
        width: 0;
    }
    .i-w-pin > div:nth-child(2){
        height: 20px;
        width: 20px;
        border: 1px solid #979da4;
        border-radius: 60px;
        transform:rotateX(63deg);
        -ms-transform:rotateX(63deg); /* IE 9 */
        -webkit-transform:rotateX(63deg); /* Opera, Chrome, and Safari */
        margin-left: 24px;
        position: absolute;
        top: 15px;
    }

    .ellipsis{
        text-overflow: ellipsis;
        word-wrap: break-word;
        overflow: hidden;
    }

    /**MORE INFO STYLES (SLIDER)**/
    #moreInfoContainer{
        height: 100%;
        width: 100%;
        background-color: rgba(255,255,255,0.5);
    }

    #fullListingDisplayer{
        width: 400px;
        height: 400px;
        margin: 0 auto;
        margin-top: 20px;
    }
    #listingInfo{
        height:350px;
    }
    #listingInfo, #userInfo{
        width: 90%;
        margin: 0 auto;
        padding-top: 15px;
    }

    #listingInfo > div{
        float: left;
    }

    #LIImage{
        width: 47%;
        height: 100%;
        margin-right: 6%;
    }
    #LIImage img{
        width: 100%;
        height: 100%;
    }

    #LIContents{
        width: 47%;
        height: 100%;
    }

    #LITitle{
        text-align: left;
    }

    #LITitle h2{
        margin: 0;
        float: left;
        font-size: 1.1rem;
    }

    #LITitle h2:first-child{
        width: 70%;
    }

    #LITitle h2:last-child{
        width: 30%;
    }

    #LIDescription{
        text-align: left;
        clear: both;
    }

    #LIDescription p{
        margin:0 0 5px 0;
    }

    #LIDescription h3{
        font-size: 0.7rem;
     }

    #userInfo{
        display: none;
        height: 150px;
        padding-top: 50px;
    }
    #userInfo div{
        float: left;
    }
    #UIImageContainer{
        height: 100%;
        width: 30%;
        margin-right: 5%;
     }
     #UIImageContainer img{
        height: 100%;
        width: 100%;
     }

     #UIInfo p{
        margin: 0 0 10px 0;
        text-align: left;
     }

.formButtonClass,
.nextBackButton{
    margin: 0 auto;
    margin-top: 10px;
    border-bottom-left-radius: 0px;
    text-indent: 0px;
    display: inline-block;
    font-family: 'ralewaysemibold';
    font-size: 1rem;
    font-style: normal;
    height: 23px;
    line-height: 1.2rem;
    width: 80px;
    text-decoration: none;
    text-align: center;
    padding: 0;
}
.inputSubmitActiavated,
.nextBackButton{
    background-color: white;
    border: 1px solid #398FEC;
    color: #398FEC;
}

.inputSubmitInactive,
.disabledButton{
    background-color: white;
    border: 1px solid #929BA4;
    color: #929BA4;
}

#loading{
    width: 100px;
    height: 100px;
    background-image: url("../img/loading.gif");
    background-size: cover;
}

.showClass{
    display: ;
}

.hideClass{
    display: none;
}